#ifndef _DIRLIST_INCLUDED
#define _DIRLIST_INCLUDED

#include <windows.h>
#include <tchar.h>

void DirList_DblClick(HWND hwndList);
void MakeDirList(HWND hwndList, TCHAR szInitialPath[]);
BOOL DirListMeasure(HWND hwnd, UINT uCtrlId, MEASUREITEMSTRUCT *mis);
BOOL DirListDraw(HWND hwnd, UINT uCtrlId, DRAWITEMSTRUCT *dis);


BOOL DirList_SetPath(HWND hwndList, TCHAR *szPath);
BOOL DirList_GetPath(HWND hwndList, TCHAR *szPath, int cchMaxPath);

//define some custom list-box notifications
#define LBN_LAST		16
#define LBN_DIRCHANGE	(LBN_LAST+0)

#endif